/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.starmeep.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.starmeep.classes.StarJob;
import org.starmeep.config.ConfigStarCluster;

/**
 *
 * @author CARLOS
 */
@RemoteServiceRelativePath("gwtservice")
public interface GWTService extends RemoteService {

    public Map isClusterRunning();
    public Boolean finalizaConfiguration(Map dataForm);
    public String launchCluster(Map dataForm);
    public String viewJobs(Map dataForm);
    public String viewHostStatus(Map dataForm);
    public ArrayList<Map> showFiles(String jobName);
    public String enterCommand(String nameJob,String command);
    public String downloadFile(Map dataForm);  
    public String deleteJob(String jobName);
    public String RunJob(String job);
    public String checkJob(String idJob);
    public Map loadConfiguration();

   // public String createJob(Map dataForm);




}
